/*侧边栏用户信息区域*/
.user-info {
  padding: 15px;
  font-size: 24px;
  color: #313131;
}

/*未登录*/
.login-no {
  overflow: hidden;
  margin: 8px 9px;
  & > .login {
    float: right;
    height: 24px;
    line-height: 24px;
    padding-left: 34px;
    position: relative;
    &:before {
      width: 24px;
      height: 24px;
      content: '';
      position: absolute;
      left: 0;
      top: 0;
    }
  }
  .login {
    float: left;
    &:before {
      background: url('../images/components/login_icon.png') no-repeat left
        center;
      background-size: 24px 24px;
    }
  }
}

/*已登录*/
.login-yes {
  height: 100%;
  background: url('../images/components/go_next_icon.png') no-repeat right
    center;
  background-size: 6px 10px;
  overflow: hidden;
  position: relative;
  .avertar {
    width: 40px;
    height: 40px;
    background: url('../images/components/user.png') no-repeat center center;
    background-size: 40px 40px;
    border-radius: 20px;
    overflow: hidden;
    float: left;
    & > img {
      width: 40px;
      height: 40px;
      display: block;
    }
  }
  .info {
    margin-left: 10px;
    overflow: hidden;
    float: left;
  }
  p {
    width: 85px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 12px;
    line-height: 12px;
    line-height: 40px;
    &.lh20 {
      line-height: 20px;
    }
  }
  &:after {
    display: block;
    background: url('../images/components/go_icon.png') no-repeat center right;
    background-size: 7px 7px;
  }
}

.userinfo {
  margin-top: 100px;
  width: 100%;
  background-color: $colore7;
  text-align: center;
  // height: 180px;
  .u-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-top: $gap * 3;
    display: inline-block;
    background: url('../images/components/user.png') no-repeat center center;
    background-size: 100px 100px;
  }
  .u-name {
    color: #000;
  }
  .u-bottom {
    background-color: $colore7;
    width: 100%;
    margin-top: 20px;
    padding-bottom: 20px;
    display: flex;
    .u-time {
      width: 50%;
      padding-left: $gap * 2;
      justify-items: center;
      align-items: center;
      justify-content: center;
    }

    .u-score {
      width: 50%;
      text-align: right;
      padding-right: $gap * 2;
      color: $color80;
      justify-items: center;
      align-items: center;
      justify-content: center;
    }
  }
}

.message {
  background-color: #fff;
  padding: $gap;
  border-bottom: solid 1px $colord4;
}

.user-tabs {
  width: 100%;
  // height: $gap*8.2;
  list-style: none;

  display: flex;
  // position: relative;
  .item {
    width: 50%;
    padding: $gap * 2.3 0;
    flex: 0 1 auto;
    font-size: 32px;
    text-align: center;
    font-weight: bold;
    border-bottom: solid 1px $colord4;
  }
  .read {
    font-size: $gap * 5;
    color: $color80;
    position: absolute;
    right: $gap * 1;
    top: $gap * 1.5;
    font-weight: bold;
  }
  .br {
    border-right: solid 1px $colord4;
  }
  .selected {
    color: $red;
    border-bottom: solid 2px $red;
  }
}

.topics {
  .icon-empty {
    font-size: $gap * 25;
    color: $colord4;
    display: block;
  }
}
